Assembler: embed elastic-website-search web component on staging#3411
Conversation
Adds the elastic-website-search web component (chat-mode="input") to the assembler build, gated behind a new WEBSITE_SEARCH feature flag. The script URL is configurable per environment via website_search_url in assembler.yml, so staging and local dev can each point at their own bundle. The chat input mounts into a sticky container at the bottom of the content column with a short entrance animation. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR adds website search functionality by extending the existing configuration and feature flag infrastructure. The YAML configuration file enables the website search feature flag in staging and dev environments and specifies the appropriate script URLs for each. A new 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Warning Review ran into problems🔥 ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Why
We want to dogfood the new
elastic-website-searchweb component (chat input mode) on the staging docs site before rolling it out to production.What
Adds the
<elastic-website-search>web component to the assembler build, gated behind a newWEBSITE_SEARCHfeature flag. When enabled, a sticky chat input container appears at the bottom of the content column with a short entrance animation.The script URL is configurable per environment via
website_search_urlinassembler.yml— staging points atstaging-website.elastic.coand local dev points at a local bundle server. Any environment without awebsite_search_urlrenders nothing, keeping production untouched.Test plan
--environment stagingand confirm the web component script tag and sticky input container appear in the HTML--environment prodand confirm nothing is rendered--environment devand verify the input mounts and animates in after ~0.6s